package io.renren.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 房屋
 *
 * @author liuyujun 384880231@qq.com
 * @since 3.0 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("work_community_house")
public class CommunityHouseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 小区ID
     */
    private Long vid;
    /**
     * 楼号ID
     */
    private Long fid;
    /**
     * 单元ID
     */
    private Long uid;
    /**
     * 楼层
     */
    private Integer level;
    /**
     * 大小
     */
    private Double size;
    /**
     * 类型
     */
    private String type;
    /**
     * 门牌号
     */
    private String houseNum;
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String creator;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
    /**
     * 启用
     */
    private Boolean disable;
    /**
     * 逻辑删除
     */
    private Boolean logicalDelete;
}